import request from '@/utils/request'
import { queryDoorList, getDoorDetail } from '../apis'

export function queryList(data) {
  return request({
    url: queryDoorList,
    method: 'get',
    params: data
  })
}

export function getDetail(data) {
  return request({
    url: getDoorDetail,
    method: 'get',
    params: data
  })
}
